package com.yly.module.sys.login;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.yly.common.basic.dao.BasicSupportDao;

@Repository
public class SysLoginDaoImpl extends BasicSupportDao implements ISysLoginDao {

	@SuppressWarnings({ "rawtypes", "unchecked" })
	@Override
	public List<Map<String, String>> getUsers(Map param) {

	    
		return this.selectListPage("getUsersPage", param);
	}

	@SuppressWarnings({ "rawtypes", "unchecked" })
	@Override
	public Map addUser(Map param) {
		for(int i = 0; i < 50; i++){
			param.put("id",this.getUUID());
			param.put("name", this.getUUID());
			param.put("value", this.getUUID());
			this.getSqlSession().insert("addUser", param);
		}
		return null;
	}
	
	
}
